package com.woniuxy.threeprojcet.end_water_project_admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.woniuxy.threeprojcet.end_water_project_admin.domain.Employee;
import com.woniuxy.threeprojcet.end_water_project_admin.dao.EmployeeMapper;
import com.woniuxy.threeprojcet.end_water_project_admin.service.IEmployeeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 员工表 服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-26
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    @Resource
    private EmployeeMapper employeeMapper;
    @Override
    public List getEmployeeName() {

        List list = employeeMapper.selectList(new QueryWrapper());
        return list;
    }
}
